package com.wsd.bookkeeping.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 账本
 */
@TableName("t_account")
@Data
public class Account {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private Integer userId;

    @TableField("book_name")
    private String bookName;

    @TableField("create_date")
    private String createDate;

    @TableField(value = "create_ip", select = false)
    private String createIp;

    @TableField("mark")
    private String mark;

    @TableField("budget")
    private BigDecimal budget;

    @TableField("image_id")
    private Integer imageId;

}
